package com.example.app.components.MyProgressIndicator

import androidx.compose.foundation.layout.size
import androidx.compose.material3.CircularProgressIndicator
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.ProgressIndicatorDefaults
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp

@Composable
fun MyCircularProgressIndicator(
        modifier: Modifier = Modifier.size(24.dp),
        color: Color = MaterialTheme.colorScheme.background,
        strokeWidth: Dp = ProgressIndicatorDefaults.CircularStrokeWidth,
        trackColor: Color = ProgressIndicatorDefaults.circularIndeterminateTrackColor,
        strokeCap: StrokeCap = ProgressIndicatorDefaults.CircularIndeterminateStrokeCap,
) {
    CircularProgressIndicator(
        modifier,
        color,
        strokeWidth,
        trackColor,
        strokeCap,
    )
}